<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri = "http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<script type="text/javascript" src="../js/video/videoList.js"></script>
<div data-options="region:'north',title:'',split:false,collapsible:false" style="height:100px;">
	<div>
		<span>
			<a onclick = "videoList.topPage();" href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-reload'">首页</a>
			<a onclick = "videoList.addVideo();" href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-add'">添加</a>
		</span>
	</div>
</div>
<div data-options="region:'east',title:'精选电影专题',split:false,collapsible:false" style="width:350px;"></div>
<div data-options="region:'west',title:'下载排行榜',split:false,collapsible:false" style="width:250px;">
	<div style="text-align:center;">
		<c:forEach var = "videoDownloadList" items="${videoDownloadList }">
		<a onclick = "videoList.toVideoDetail(${videoDownloadList.id });" href = "javascript:void(0);" >
			<img style="margin:10px 0;width:200px;height:130px" title="${videoDownloadList.videoName }" src="${videoDownloadList.videoPoster }">
			<div title = "${videoDownloadList.videoName }" class="divOverflow">
				${videoDownloadList.videoName }
			</div>
		</a>
		</c:forEach>
	</div>
</div>